﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LX.Cache
{
    /// <summary>
    /// 缓存提供者接口
    /// </summary>
    public interface ICacheProvider
    {
        void Set(string key, object value);
        void Set(string key, object value, int expiresSecond);
        object GetData(string key);
        void Remove(string key);
        void RemoveAll();
    }
}
